package com.tech.zhidengxian.model.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.tech.zhidengxian.mapper.typehandler.JsonTypeHandler;
import com.tech.zhidengxian.model.dataobject.SchoolDO;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class UserDTO implements Serializable {
    private Long id;
    private String username;
    private String password;
    private String phone;
    private String email;
    private String imageUrl;
    private Date registerTime;
    private Date updateTime;
    @TableField(typeHandler = JsonTypeHandler.class)
    private SchoolDTO schoolInfo;
}
